package com.jeesite.modules.billnopattern.dao;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.billnopattern.entity.BillNoPattern;

/**
 * 单据编码记录表DAO接口
 * @author 码脑洞
 * @version 2025-04-13
 */
@MyBatisDao
public interface BillNoPatternDao extends CrudDao<BillNoPattern> {

	int updateSeq(long autoId, int seq, int serialLength, Long newVersionNum, long versionNum);

	BillNoPattern getPattern(long orgId, String type, long sourceId, String pattern);
}